package com.ruoyi.subsidy.service;

import com.ruoyi.common.core.domain.PageQuery;
import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.subsidy.domain.bo.SysSubsidyApplicationBo;
import com.ruoyi.subsidy.domain.bo.SysSubsidyMachineBo;
import com.ruoyi.subsidy.domain.bo.SysmachingBaseModelBo;
import com.ruoyi.subsidy.domain.vo.SysSubsidyApplicationVo;

import java.util.Collection;
import java.util.List;

/**
 * 补贴申请Service接口
 *
 * @author nbacheng
 * @date 2025-08-07
 */
public interface ISysSubsidyMachineService {

    /**
     * 查询补贴申请
     */
    SysSubsidyMachineBo queryById(Long id);

    /**
     * 查询补贴申请列表
     */
    TableDataInfo<SysSubsidyMachineBo> queryPageList(SysSubsidyMachineBo bo, PageQuery pageQuery);

    /**
     * 查询补贴申请列表
     */
    List<SysSubsidyMachineBo> queryList(SysSubsidyMachineBo bo);

    List<String> listMachingModel(SysSubsidyMachineBo bo);


    List<SysmachingBaseModelBo> listMachingByName(SysSubsidyMachineBo bo);

    TableDataInfo<SysSubsidyMachineBo> qureyBytotalMachineBoc(SysSubsidyMachineBo bo);

    TableDataInfo<SysSubsidyMachineBo> qureyBytotalMachineBox(SysSubsidyMachineBo bo);

    TableDataInfo<SysSubsidyMachineBo> qureyBytotalMachineBoq(SysSubsidyMachineBo bo);

    /**
     * 新增补贴申请
     */
    String insertByBo(SysSubsidyMachineBo bo);

    /**
     * 修改补贴申请
     */
    Boolean updateByBo(SysSubsidyMachineBo bo);


    /**
     * 修改补贴申请
     */
    Boolean updateByMachineBo(SysSubsidyMachineBo bo);



    /**
     * 校验并批量删除补贴申请信息
     */
    Boolean deleteWithValidByIds(Collection<Long> ids, Boolean isValid);
}
